package com.teama4.shop.domain;

import java.util.List;

public class CommodityPaging {
    private Long total;
    List<Commodity> commodities;

    public CommodityPaging(Long total, List<Commodity> commodities) {

        this.total = total;
        this.commodities = commodities;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<Commodity> getCommodities() {
        return commodities;
    }

    public void setCommodities(List<Commodity> commodities) {
        this.commodities = commodities;
    }
}
